package com.moliku.insurance.model.entity.sinosafe.cancel;

import lombok.Data;

import java.io.Serializable;

/**
 * @author 七分
 * @version 1.0
 * @date 2021/3/22 14:39
 * @effect
 */
@Data
public class SinosafeCancelEntity implements Serializable {
    private static final long serialVersionUID = -9139348192575795539L;

    private Channel channel;
    private Policy policy;

    /**
     * 内部类 渠道信息
     */
    @Data
    public static class Channel implements Serializable{

        private static final long serialVersionUID = 1524651372891319452L;
        /**
         * 接入用户
         */
        private String accessUser;
        /**
         * 接入密码
         */
        private String accessPassword;
        /**
         * 渠道编码
         */
        private String channelCodel;
    }
    /**
     * 内部类 保单信息
     */
    @Data
    public static class Policy implements Serializable{

        private static final long serialVersionUID = 1990812450055277359L;

        /**
         * 流水号
         */
        private String businessNo;
        /**
         * 保单号
         */
        private String policyNo;
        /**
         * 产品代码
         */
        private String productCode;
    }
}
